package com.ant.backstage.facade.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Mybatis Generator 2021/12/23
 */
@Data
@ApiModel(value = "User", description = "用户实体类")
@JsonInclude(JsonInclude.Include.NON_EMPTY ) //为null的字段不返回
@Accessors(chain = true)
public class User implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;

    @ApiModelProperty(value = "用户唯一标识UID")
    private String uid;

    private String uname;

    private Integer age;

    private String uphone;

    private String pwd;

    private Integer addressid;

    private Date createdatetime;

    private Date lastupdatetime;

    @ApiModelProperty(value = "密码盐")
    private String salt;
    @ApiModelProperty(value = "JWT盐")
    private String jwtSecret;
    @ApiModelProperty(value = "用户状态1正常2冻结3注销")
    private String status;
    @ApiModelProperty(value = "性别0女1男")
    private String gender;


}